package com.xnyzc.lhy.didi.service.work;

import com.xnyzc.lhy.common.entity.DiDiRv;
import com.xnyzc.lhy.didi.entity.param.work.*;
import com.xnyzc.lhy.didi.entity.param.workorder.CreateWorkOrderParam;
import com.xnyzc.lhy.didi.entity.param.workorder.UpdateWorkOrderParam;
import com.xnyzc.lhy.didi.entity.param.workorder.WorkOrderUrgentParam;

public interface WorkOrderService {

    /**
     * 新建工单
     * @param createWorkOrderParam
     * @return
     */
    DiDiRv getCreateWorkOrder(CreateWorkOrderParam createWorkOrderParam);

    /**
     * 更新工单
     * @param updateWorkOrderParam
     * @return
     */
    DiDiRv getUpdateWorkOrder(UpdateWorkOrderParam updateWorkOrderParam);

    /**
     * 工单加急接口
     * @return
     */
    DiDiRv getWorkOrderUrgent(WorkOrderUrgentParam workOrderUrgentParam);

}
